<template>
  <div id="app">
    <!-- <tar-bar v-if="this.$route.meta.isNav"></tar-bar> -->
    <tar-bar v-if="isShow"></tar-bar>
    <Fade>
    <router-view />
    </Fade>
  </div>
</template>
<script>
import TarBar from '@/components/TarBar.vue'
import Fade from '@/components/Fade.vue'
export default {
  components:{
    TarBar,
    Fade
  },
  computed: {
    isShow() {
      return this.$route.meta.isNav;
    },
  },
};
</script>
<style>
#app {
  width: 10rem;
  margin-left: auto;
  margin-right: auto;
  /* background: red; */
}
</style>
